package com.siwei.mes.mapper.laboratory;

import com.siwei.mes.common.dataSource.DataSource;
import com.siwei.mes.common.dataSource.DataSourceNames;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 测试实验室接口
 *
 * @Description: 测试实验室接口
 * @Version: 1.0
 * @author: mlchen
 * @date: 2024/6/10 20:48
 */
public interface TestLaboratoryMapper {
    @DataSource(DataSourceNames.LABORATORY)
    List<Map<String, Object>> testSelect();

    @DataSource(DataSourceNames.LABORATORY)
    void updateTest();

    @DataSource(DataSourceNames.LABORATORY)
    void insertSmallDataTime(@Param("sampleNo") String sampleNo, @Param("sampleName") String sampleName,
                             @Param("s2") String s2, @Param("s7") String s7, @Param("s9") String s9);

    @DataSource(DataSourceNames.LABORATORY)
    void insertImportList(@Param("importDate") String importDate,
                          @Param("kindId") String kindId, @Param("itemId") String itemId,
                          @Param("sampleId") String sampleId, @Param("gradeId") String gradeId,
                          @Param("importId") String importId, @Param("specId") String specId,
                          @Param("prodinQuan") String prodinQuan);
}
